<!--{eval $_TPL['titles'] = array("查看奖品信息 - 积分兑奖 ");}-->
<!--{template header}-->
<!--{template award/view/award_header}-->
<div id="mainarea">

<STYLE type="text/css">
.fglist{margin:2px;}
.fglist span{float:left;padding:10px;overflow:hidden;}
.fglist span img{width:128px;height:128px; float:left;border: 1px solid #cccccc;}
.awardlist{border: 1px solid #cccccc; margin-left:auto;margin-right:auto;width:760px;overflow:hidden;height:540px;}
.awardtxt{margin-left:10px;padding:6px;border: 0px solid #cccccc;float:left;overflow:hidden;width:200px;height:128px;}
.awardintro{padding:6px;border: 0px solid #cccccc;float:left;overflow:hidden;width:740px;height:auto;}
.awardintro h2{font-weight:bold;color:red;width:200px;background:#FFFFEF;font-size:14px;height:28px;line-height:28px;}
.btn_orange12{
	background:url(award/images/btn_orange12.gif);
	height:21px;
	width:85px;
	color:#FFFFFF;
	font-size:12px;
	border:0px;
	cursor:pointer;
}
</STYLE>

<div class="box fglist s_clear">
<span class="awardlist">
<img src="$list[awardimg]" alt="$list[awardname]" class="avatar" />
<div class="awardtxt">
名称：$list[awardname] <br/>
编号：$list[awardno]<br/>
物品数量：$list[remain]<br/>
兑换积分：$list[credit]<br/>
已兑换：$list[exchange]<br/>
<input type="button" value="立即兑换" class="btn_orange12" {if $list[remain] > 0 && $mycredit>=$list[credit]} onclick="if(confirm('兑换需要从您的帐户扣除$list[credit]个积分，是否继续？','是','否')){location.href='?ac=award&aid=$list[id]';}  else{return false;}" title="$list[awardname]" {elseif $mycredit< $list[credit]}title="您的积分不足，无法兑换" disabled {else} disabled title="奖品数量不足，无法兑换"{/if} />
</div>
<div class="awardintro">
<h2>奖品介绍：</h2>
$list[description]
</div>
</span>


</div>

</div>
<!--{template footer}-->
